package supermarket;
public class Goods1 {
    private int id;
    private String name;
    private double price;
    private String uom;
    private int balance;
    public Goods1(int id, String name, double price, String uom, int balance) {
        super();
        this.id = id;
        this.name = name;
        this.price = price;
        this.uom = uom;
        this.balance = balance;
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public double getPrice() {
        return price;
    }
    public void setPrice(double price) {
        this.price = price;
    }
    public String getUom() {
        return uom;
    }
    public void setUom(String uom) {
        this.uom = uom;
    }
    public int getBalance() {
        return balance;
    }
    public void setBalance(int balance) {
        this.balance = balance;
    }
}
